package main

import (
	"parser/engine"
	"parser/fetcher"
	"parser/persist"
	"parser/scheduler"
	"parser/wanmi/parder"
)

func main() {

	engine.QueuedScheduler{
		Scheduler:   &scheduler.QueuedScheduler{},
		Fetcher:     fetcher.GetFetcher(""),
		WorkerCount: 2,
		ItemSaver:   persist.ItemSaver(),
	}.Run(
		engine.Request{
			Url:        "http://192.168.43.67?",
			ParserFunc: parder.Mi,},
		engine.Request{
			Url:        "http://192.168.43.67?",
			ParserFunc: parder.Mi,},
		engine.Request{
			Url:        "http://192.168.43.67?",
			ParserFunc: parder.Mi,})
}
